<?php
/**
* Prado Portal.
*
* @author Steen Rabol <steen.rabol@gmail.com>
* @link http://www.pradoportal.dk/
* @copyright Copyright &copy; 2006,2007,2008 Steen Rabol
* @license http://www.pradoportal.dk
* @version $Id: Logout.php 289 2008-11-14 05:34:40Z steen.rabol@gmail.com $
*/

class Logout extends PortalPage //TPage
{
	public function onPreInit($param)
	{
		$this->Application->getModule('auth')->logout();
		$this->Response->redirect($this->Service->constructUrl($this->Service->DefaultPage));
	}
}
?>